﻿#include "ssWXFrame.h"


ssWXFrame::ssWXFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
	:wxFrame(0, -1, title, pos, size, wxCAPTION|wxSYSTEM_MENU|wxCLOSE_BOX|wxMINIMIZE_BOX)
{
}

ssWXFrame::~ssWXFrame()
{
}

BEGIN_EVENT_TABLE(ssWXFrame, wxFrame)
	EVT_CLOSE(ssWXFrame::OnClose)
END_EVENT_TABLE()

void ssWXFrame::OnClose( wxCloseEvent& ev )
{
	Destroy();
}
